//用户登录信息及相关操作
const state = () => ({
  user: {name:"小明"},
  college: {id:7,name:"信息工程学院"},
})

// getters
const getters = {
  collegeId: (state) => {
    return state.college.collegeId
  },
}
// mutations
const mutations = {
  
}

// actions
const actions = {
  
}

export default{
    namespaced: true,
    state,
    getters,
    actions,
    mutations
  }
